import { getRanks } from '@/api'

export async function getAllRanks(): Promise<number[]> {
  const ids: number[] = []
  const res = await getRanks()
  for(const i of res.list) {
    ids.push(i.id)
  }
  return ids
}

